package com.cx.demo.configure;

import com.cx.demo.bean.Byebye;
import com.cx.demo.bean.Hello;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author xiongmin
 * @version 1.0
 * @date 20-8-19 下午2:08
 */

@Configuration
public class BeanConfigure {

    @Bean
    public Hello hello() {
        return new Hello();
    }

    @Bean
    public Byebye bye() {
        return new Byebye();
    }
}
